#pragma once
#include "MessengerEventBase.h"



namespace Boon
{

	class BOON_API Event_Physics_Rigidbody : public MessengerEventBase
	{
	public:
		enum RigidbodyEventID
		{
			RB_CREATED,
			RB_DELETED,
			RB_UPDATED
		};

		static const EventType				ID = 0x1567e8f;

		Event_Physics_Rigidbody( Rigidbody& rigidbody, const RigidbodyEventID eID );

		virtual const EventType				GetEventID() const;
		virtual void						Serialize( std::ostream& out ) const;
		virtual IMessengerEventStrong		Copy() const;
		virtual const char*					GetName() const;


		Rigidbody&							m_Rigidbody;
		const RigidbodyEventID				m_EventID;

	};

}